<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <base target="_self">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache,must-ridate">
    <meta http-equiv="expires" content="0">
    <title></title>
    <link rel="stylesheet" type="text/css" href="/static/plugins/bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/static/plugins/bootstrap-table/bootstrap-table.css" />
    <script type="text/javascript" src="/static/plugins/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="/static/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/static/plugins/bootstrap-table/bootstrap-table.js"></script>
    <script type="text/javascript" src="/static/plugins/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
</head>

<style  type="text/css">
    .required {
        color: red;
    }
</style>

<body>
    <ul id="myTab" class="nav nav-tabs">
        <li class="active">
            <a href="#initInfo1" data-toggle="tab">
                基本信息
            </a>
        </li>
        <li>
            <a href="#initInfo2" data-toggle="tab">
                交易对手
            </a>
		</li>
		<li>
            <a href="#initInfo3" data-toggle="tab">
                受益权结构
            </a>
		</li>	
		<li>
            <a href="#initInfo4" data-toggle="tab">
                信托合同
            </a>
		</li>	
		<li>
            <a href="#initInfo5" data-toggle="tab">
                银行资金账户
            </a>
		</li>	
		<li>
            <a href="#initInfo6" data-toggle="tab">
                证券类账户
            </a>
        </li>
		<li>
            <a href="#initInfo7" data-toggle="tab">
                变更与更正事项
            </a>
        </li>	
    </ul>

    <div id="myTabContent" class="tab-content">
        <div class="tab-pane fade in active" id="initInfo1">
            <div style="height:620px;overflow-y:auto">
                <table border="1" bordercolor="#C0C0C0" cellspacing="0" cellpadding="2" style="width: 100%;">
                    <tr id="trtrust">
                        <td style="width: 20%;">
                            <span class="required">*</span>办理日期:
                        </td>
                        <td style="width: 30%;">
                            <input type="date" id="handledate" name="handledate" style="width: 320px;">
                        </td>
                        <td style="width: 20%;">
                            <span class="required">*</span>初始登记反馈日期:
                        </td>
                        <td style="width: 30%;">
                            <input type="date" id="overdate" name="overdate" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%;">
                            <span class="required">*</span>登记类型:
                        </td>
                        <td style="width: 30%;">
                            <select id="djlx" name="djlx" style="width: 320px;">
                                <option value="1">初始登记</option>
                                <option value="2">变更登记</option>
                                <option value="3">更正登记</option>
                                <option value="8">初始登记（补办）</option>
                            </select>
                        </td>
                        <td style="width: 20%;">
                            <span class="required">*</span>信托产品名称:
                        </td>
                        <td style="width: 30%;">
                            <input type="text" id="cpqc" name="cpqc" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            信托登记系统产品编码:
                        </td>
                        <td>
                            <input type="text" id="djcpbh" name="djcpbh" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>信托产品内部编号:
                        </td>
                        <td>
                            <input type="text" id="gscpbh" name="gscpbh" style="width: 320px;" disabled="disabled">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>分期发行标识:
                        </td>
                        <td>
                            <input type="radio" name="sfxtzcp" value="0" onchange="javascript:changeInfo('10')"/>否
                            <input type="radio" name="sfxtzcp" value="1" onchange="javascript:changeInfo('11')"/>是
                        </td>
                        <td>
                            三单标识:
                        </td>
                        <td>
							<select id="sdbs" name="sdbs" style="width: 320px;">
								<option value=""></option>
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            第一期产品信托登记系统产品编码:
                        </td>
                        <td>
                            <input type="text" id="fqzcpnbbh" name="fqzcpnbbh" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>信托财产性质标识:
                        </td>
                        <td>
                            <select id="xtccxz" name="xtccxz" style="width: 320px;" disabled="disabled">
                                <option value="0">资金</option>
                                <option value="1">财产权</option>
                                <option value="2">混合</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>单一集合标识:
                        </td>
                        <td>
                            <select id="dyjhbz" name="dyjhbz" style="width: 320px;" disabled="disabled">
                                <option value="0">单一</option>
                                <option value="1">集合</option>
                            </select>
                        </td>
                        <td>
                            财产权信托进行受益权拆分转让或者对外发行受益权标识:
                        </td>
                        <td>
							<select id="ccqxtcfzr" name="ccqxtcfzr" style="width: 320px;">
								<option value=""></option>
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>受托职责标识:
                        </td>
                        <td>
                            <select id="stzz" name="stzz" style="width: 320px;" disabled="disabled">
                                <option value="0">主动管理</option>
                                <option value="1">非主动管理</option>
                            </select>
                        </td>
                        <td>
                            <span class="required">*</span>信托功能标识:
                        </td>
                        <td>
                            <select id="xtgn" name="xtgn" style="width: 320px;" disabled="disabled">
                                <option value="0">投资类</option>
                                <option value="1">融资类</option>
                                <option value="2">事务管理</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>运行方式标识:
                        </td>
                        <td>
                            <select id="yxfs" name="yxfs" style="width: 320px;">
                                <option value="0">净值型</option>
                                <option value="1">非净值型</option>
                            </select>
                        </td>
                        <td>
                            <span class="required">*</span>开放/封闭标识:
                        </td>
                        <td>
                            <select id="kffbbs" name="kffbbs" style="width: 320px;" disabled="disabled">
                                <option value="0">封闭式</option>
                                <option value="1">开放式</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>受益方式标识:
                        </td>
                        <td>
                            <select id="xtsyfs" name="xtsyfs" style="width: 320px;" disabled="disabled">
                                <option value="0">自益</option>
                                <option value="1">他益</option>
                                <option value="2">自益+他益</option>
                                <option value="3">其他</option>
                            </select>
                        </td>
                        <td>
                            受益方式说明:
                        </td>
                        <td>
                            <input type="text" id="syfssm" name="syfssm" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>结构化标识:
                        </td>
                        <td>
                            <select id="jghbs" name="jghbs" style="width: 320px;">
                                <option value="0">单账户结构化</option>
                                <option value="1">多账户结构化（伞形信托）</option>
                                <option value="2">否</option>
                            </select>
                        </td>
                        <td>
                            结构化优先劣后比例:
                        </td>
                        <td>
                            <input type="text" id="jghyxlhbl" name="jghyxlhbl" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>非标资金池标识:
                        </td>
                        <td>
                            <input type="radio" name="zjcbs" value="0" />否
                            <input type="radio" name="zjcbs" value="1" />是
                        </td>
                        <td>
                            <span class="required">*</span>TOT 标识:
                        </td>
                        <td>
                            <select id="totbs" name="totbs" style="width: 320px;">
                                <option value="0">否</option>
                                <option value="1">TOT母信托</option>
                                <option value="2">TOT子信托</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            关联母信托:
                        </td>
                        <td>
                            <input type="text" id="glmxt" name="glmxt" style="width: 320px;">
                        </td>
                        <td>
                            关联子信托:
                        </td>
                        <td>
                            <input type="text" id="glzxt" name="glzxt" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>初始募集金额:
                        </td>
                        <td>
                            <input type="number" id="csmjje" name="csmjje" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>初始募集份额:
                        </td>
                        <td>
                            <input type="number" id="csmjfe" name="csmjfe" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>初始募集币种:
                        </td>
                        <td>
                            <select id="zjjsbz" name="zjjsbz" style="width: 320px;">

                            </select>
                        </td>
                        <td>
                            预期募集总金额:
                        </td>
                        <td>
                            <input type="number" id="yqmjzje" name="yqmjzje" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            预期募集总份额:
                        </td>
                        <td>
                            <input type="number" id="yqmjzfe" name="yqmjzfe" style="width: 320px;">
                        </td>
                        <td>
                            预期募集总额币种:
                        </td>
                        <td>
                            <select id="yqmjzebz" name="yqmjzebz" style="width: 320px;">
								<option value=""></option>

                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>主要运用领域:
                        </td>
                        <td>
                            <select id="zyyyly_ctq" name="zyyyly_ctq" style="width: 320px;">
                                <option value="0">房地产</option>
                                <option value="1">基础产业</option>
                                <option value="2">工商企业</option>
                                <option value="3">偏股型证券投资</option>
                                <option value="4">偏债型证券投资</option>
                                <option value="5">金融机构</option>
                                <option value="6">其他</option>
                            </select>
                        </td>
                        <td>
                            <span class="required">*</span>主要投向行业:
                        </td>
                        <td>
                            <select id="zytxhy_ctq" name="zytxhy_ctq" style="width: 320px;">

                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            财产主要运用方式(资金信托):
                        </td>
                        <td>
                            <select id="ccglyyfs" name="ccglyyfs" style="width: 320px;">
								<option value=""></option>
                                <option value="a">信托贷款</option>
                                <option value="b">资产及其收（受）益权（附回购）</option>
                                <option value="c">资产及其收（受）益权（不附回购）</option>
                                <option value="d">长期股权投资</option>
                                <option value="e">债券投资</option>
                                <option value="f">其他债权资产</option>
                                <option value="g">股票投资</option>
                                <option value="h">金融衍生品</option>
                                <option value="i">公募基金</option>
                                <option value="j">代客境外理财QDII</option>
                                <option value="k">实物及其他资产</option>
                            </select>
                        </td>
                        <td>
                            财产主要运用方式(财产权信托):
                        </td>
                        <td>
                            <select id="ccglyyfs_ccq" name="ccglyyfs_ccq" style="width: 320px;">
								<option value=""></option>
                                <option value="a">出售</option>
                                <option value="b">出租</option>
                                <option value="c">资产证券化</option>
                                <option value="d">准资产证券化</option>
                                <option value="e">持有并管理</option>
                                <option value="f">其他</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>银登中心登记的信贷资产及其收益权转让标识:
                        </td>
                        <td>
                            <input type="radio" name="xdzcjsyq" value="0" />否
                            <input type="radio" name="xdzcjsyq" value="1" />是
                        </td>
                        <td>
                            <span class="required">*</span>资产证券化标识:
                        </td>
                        <td>
                            <input type="radio" name="zczqhbs" value="0" />否
                            <input type="radio" name="zczqhbs" value="1" />是
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>特色业务标识:
                        </td>
                        <td>
                            <input type="checkbox" id="tsyw0" name="tsyw" value="0" />私募股权投资信托（PE）<br>
                            <input type="checkbox" id="tsyw1" name="tsyw" value="1" />基金化房地产信托（REITS）<br>
                            <input type="checkbox" id="tsyw2" name="tsyw" value="2" />受托境外理财信托（QDII）<br>
                            <input type="checkbox" id="tsyw3" name="tsyw" value="3" />政府与社会资本合作信托（PPP）<br>
                            <input type="checkbox" id="tsyw4" name="tsyw" value="4" />产业投资基金（不含 PPP）<br>
                            <input type="checkbox" id="tsyw5" name="tsyw" value="5" />家族信托<br>
                            <input type="checkbox" id="tsyw6" name="tsyw" value="6" />土地流转信托<br>
                            <input type="checkbox" id="tsyw7" name="tsyw" value="7" />公益（慈善）信托<br>
                            <input type="checkbox" id="tsyw8" name="tsyw" value="8" />消费信托<br>
                            <input type="checkbox" id="tsyw9" name="tsyw" value="9" />并购信托<br>
                            <input type="checkbox" id="tsywa" name="tsyw" value="a" />另类投资信托<br>
                            <input type="checkbox" id="tsywb" name="tsyw" value="b" />金融衍生品信托<br>
                            <input type="checkbox" id="tsywg" name="tsyw" value="g" />企业年金<br>
                            <input type="checkbox" id="tsywk" name="tsyw" value="k" />小微金融信托<br>
                            <input type="checkbox" id="tsywh" name="tsyw" value="h" />资产支持票据<br>
                            <input type="checkbox" id="tsywi" name="tsyw" value="i" />保险金信托<br>
                            <input type="checkbox" id="tsywj" name="tsyw" value="j" />员工持股信托<br>
                            <input type="checkbox" id="tsywf" name="tsyw" value="f" />非特色业务<br>
                        </td>
                        <td>
                            业务信息说明:
                        </td>
                        <td>
							<textarea cols="100" rows="16" id="ywxism" name="ywxism" style="width:320px;"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>收益率类型:
                        </td>
                        <td>
                            <select id="syllx" name="syllx" style="width: 320px;" onchange="javascript:changeInfo('5')">
                                <option value="0">基准收益率</option>
                                <option value="1">基准+浮动</option>
                                <option value="2">浮动收益率（含净值型产品）</option>
                                <option value="9">其他</option>
                            </select>
                        </td>
                        <td>
                            基准收益率(下限):
                        </td>
                        <td>
                            <input type="number" id="zdyqsyl" name="zdyqsyl" style="width: 280px;">(%)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            基准收益率(上限):
                        </td>
                        <td>
                            <input type="text" id="zgyqsyl" name="zgyqsyl" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>信托报酬类型:
                        </td>
                        <td>
                            <select id="xtbclx" name="xtbclx" style="width: 320px;" onchange="javascript:changeInfo('6')">
                                <option value="0">固定</option>
                                <option value="1">固定+浮动</option>
                                <option value="2">浮动</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            合同约定的信托报酬率（固定费率）:
                        </td>
                        <td>
                            <input type="number" id="xtbcl" name="xtbcl" style="width: 280px;">(%)
                        </td>
                        <td>
                            合同约定的信托报酬率（固定金额）:
                        </td>
                        <td>
                            <input type="number" id="xtbc" name="xtbc" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>信托报酬说明:
                        </td>
                        <td>
							<textarea cols="100" rows="5" id="htydbcsm" name="htydbcsm" style="width:320px;"></textarea>
                        </td>
                        <td>
                            <span class="required">*</span>风险项目标识:
                        </td>
                        <td>
                            <input type="radio" name="fxxmbs" value="0" onchange="javascript:changeInfo('3')"/>否
                            <input type="radio" name="fxxmbs" value="1" onchange="javascript:changeInfo('3')"/>是
                        </td>
                    </tr>
                    <tr>
                        <td>
                            风险台账标识:
                        </td>
                        <td>
                            <select id="fxtzbs" name="fxtzbs" style="width: 320px;">
							    <option value=""></option>
                                <option value="0">未入台帐</option>
                                <option value="1">调入台帐</option>
                                <option value="2">调出台帐</option>
                                <option value="3">调出复调回</option>
                            </select>
                        </td>
                        <td>
                            风险处置进展:
                        </td>
                        <td>
                            <select id="fxczjz" name="fxczjz" style="width: 320px;">
								<option value=""></option>
                                <option value="0">兑付风险未化解</option>
                                <option value="1">已无兑付风险但实质风险未化解</option>
                                <option value="2">实质风险已化解</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            风险缓释措施:
                        </td>
                        <td>
                            <input type="text" id="fxhscsnew" name="fxhscsnew" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>风险控制措施:
                        </td>
                        <td>
                            <input type="checkbox" id="fxhscsa" name="fxhscs" value="a" />抵押<br>
                            <input type="checkbox" id="fxhscsb" name="fxhscs" value="b" />质押<br>
                            <input type="checkbox" id="fxhscsc" name="fxhscs" value="c" />保证<br>
                            <input type="checkbox" id="fxhscsd" name="fxhscs" value="d" />信用<br>
                            <input type="checkbox" id="fxhscsf" name="fxhscs" value="f" />其他
                        </td>
                    </tr>
                    <tr>
                        <td>
                            风险控制措施变化补充说明:
                        </td>
                        <td>
                            <input type="text" id="fxczcsbhbcsm" name="fxczcsbhbcsm" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>固定期限标识:
                        </td>
                        <td>
                            <input type="radio" name="sfgdqxcp" value="0" />否
                            <input type="radio" name="sfgdqxcp" value="1" />是
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>信托产品成立日期:
                        </td>
                        <td>
                            <input type="date" id="xtcpsjclrq" name="xtcpsjclrq" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>信托产品计划到期日:
                        </td>
                        <td>
                            <input type="date" id="cpjhdqr" name="cpjhdqr" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            开放式产品开放频度:
                        </td>
                        <td>
                            <select id="kfpd" name="kfpd" style="width: 320px;">
								<option value=""></option>
                                <option value="0">日</option>
                                <option value="1">周</option>
                                <option value="2">双周</option>
                                <option value="3">旬</option>
                                <option value="4">半月</option>
                                <option value="5">月度</option>
                                <option value="6">季度</option>
                                <option value="b">半年</option>
                                <option value="7">年度</option>
                                <option value="8">其他频度</option>
                                <option value="9">不定期</option>
                            </select>
                        </td>
                        <td>
                            <span class="required">*</span>赎回的限制性条件:
                        </td>
                        <td>
                            <input type="text" id="shdxzxtj" name="shdxzxtj" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>委托人可提前赎回标识:
                        </td>
                        <td>
                            <input type="radio" name="ktqshbs" value="0" />否
                            <input type="radio" name="ktqshbs" value="1" />是
                        </td>
                        <td>
                            <span class="required">*</span>推介方式:
                        </td>
                        <td>
                            <input type="checkbox" id="tjfs0" name="tjfs" value="0" />本公司直销<br>
                            <input type="checkbox" id="tjfs1" name="tjfs" value="1" />金融机构推介-银行推介(含代收代付)<br>
                            <input type="checkbox" id="tjfs2" name="tjfs" value="2" />金融机构推介-证券公司推介<br>
                            <input type="checkbox" id="tjfs3" name="tjfs" value="3" />金融机构推介-保险推介<br>
                            <input type="checkbox" id="tjfs4" name="tjfs" value="4" />金融机构推介-其他信托公司推介<br>
                            <input type="checkbox" id="tjfs5" name="tjfs" value="5" />金融机构推介-其他金融机构推介<br>
                            <input type="checkbox" id="tjfs6" name="tjfs" value="6" />非金融机构推介<br>
                            <input type="checkbox" id="tjfs7" name="tjfs" value="7" />其他渠道推介
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>推介媒介:
                        </td>
                        <td>
                            <input type="checkbox" id="tjmj0" name="tjmj" value="0" />线下<br>
                            <input type="checkbox" id="tjmj1" name="tjmj" value="1" />线上<br>
                        </td>
                        <td>
                            <span class="required">*</span>异地推介标识:
                        </td>
                        <td>
                            <input type="radio" name="ydtjbs" value="0" />否
                            <input type="radio" name="ydtjbs" value="1" />是
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>项目推荐方:
                        </td>
                        <td>
                            <select id="xmtjf" name="xmtjf" style="width: 320px;">
                                <option value="0">银行推荐</option>
                                <option value="1">其他金融机构推荐</option>
                                <option value="2">自主寻找开发</option>
                                <option value="3">其他</option>
                            </select>
                        </td>
                        <td>
                            是否估值:
                        </td>
                        <td>
							<select id="sfgz" name="sfgz" style="width: 320px;" onchange="javascript:changeInfo('7')">
								<option value=""></option>
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            估值模式:
                        </td>
                        <td>
                            <select id="gzms" name="gzms" style="width: 320px;">
                                <option value="0">实际净值</option>
                                <option value="1">万份收益</option>
                                <option value="2">其他</option>
                            </select>
                        </td>
                        <td>
                            估值层级:
                        </td>
                        <td>
                            <select id="gzcj" name="gzcj" style="width: 320px;">
								<option value=""></option>
                                <option value="0">信托产品本层</option>
                                <option value="1">信托产品下层</option>
                                <option value="2">信托产品上层</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            估值机构:
                        </td>
                        <td>
                            <input type="checkbox" id="gzjg0" name="gzjg" value="0">信托公司<br>
                            <input type="checkbox" id="gzjg1" name="gzjg" value="1"/>托管人<br>
                            <input type="checkbox" id="gzjg2" name="gzjg" value="2"/>投资顾问<br>
                            <input type="checkbox" id="gzjg3" name="gzjg" value="3"/>其他<br>
                        </td>
                        <td>
                            净值评估频度:
                        </td>
                        <td>
                            <select id="jzpgpd" name="jzpgpd" style="width: 320px;">
								<option value=""></option>
                                <option value="0">工作日</option>
                                <option value="1">自然日</option>
                                <option value="2">周</option>
                                <option value="3">双周</option>
                                <option value="4">旬</option>
                                <option value="5">半月</option>
                                <option value="6">月度</option>
                                <option value="7">季度</option>
                                <option value="b">半年</option>
                                <option value="8">年度</option>
                                <option value="9">其他频度</option>
                                <option value="a">不定期</option>
                                <option value="c">无</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>境内托管机构:
                        </td>
                        <td>
                            <input type="text" id="jntgjg" name="jntgjg" style="width: 320px;">
                        </td>
                        <td>
                            境外托管代理机构:
                        </td>
                        <td>
                            <input type="text" id="jwtgdljg" name="jwtgdljg" style="width: 320px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            境外托管代理机构国别:
                        </td>
                        <td>
                            <input type="text" id="jwtgdljggb" name="jwtgdljggb" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>投资顾问标识:
                        </td>
                        <td>
                            <input type="radio" name="tzgwbs" value="0" />否
                            <input type="radio" name="tzgwbs" value="1" />是
                        </td>
                    </tr>
                    <tr>
                        <td>
                            投资顾问编号:
							<br>(投顾为机构的，填写投顾机构的统一社会信用代码)
                        </td>
                        <td>
                            <input type="text" id="tzgwbh" name="tzgwbh" style="width: 320px;">
                        </td>
                        <td>
                            交易对手个人/机构标识:
                        </td>
                        <td>
                            <input type="checkbox" id="grjgbs0" name="grjgbs" value="0" />个人<br>
                            <input type="checkbox" id="grjgbs1" name="grjgbs" value="1" />机构
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="required">*</span>关联交易标识:
                        </td>
                        <td>
                            <input type="radio" name="gljybs" value="0" onchange="javascript:changeInfo('4')"/>否
                            <input type="radio" name="gljybs" value="1" onchange="javascript:changeInfo('4')"/>是
                        </td>
                        <td>
                            关联交易类型:
                        </td>
                        <td>
                            <input type="checkbox" id="gljylx0" name="gljylx" value="0" />资金源于非关联方用于关联方<br>
                            <input type="checkbox" id="gljylx1" name="gljylx" value="1" />资金来源于关联方用于非关联方<br>
                            <input type="checkbox" id="gljylx2" name="gljylx" value="2" />资金来源于关联方用于关联方<br>
                            <input type="checkbox" id="gljylx3" name="gljylx" value="3" />以信托资金支付关联方费用<br>
                            <input type="checkbox" id="gljylx4" name="gljylx" value="4" />其他关联交易 
                        </td>
					</tr>
					<tr>
                        <td>
                            关联交易补充说明:
                        </td>
                        <td>
                            <input type="text" id="gljybcsm" name="gljybcsm" style="width: 320px;">
                        </td>
                        <td>
                            关联方类型:
                        </td>
                        <td>
                            <input type="checkbox" id="gllx0" name="gllx" value="0" />公司的股东<br>
                            <input type="checkbox" id="gllx1" name="gllx" value="1" />公司股东的关联企业<br>
                            <input type="checkbox" id="gllx2" name="gllx" value="2" />公司自有资金投资的企业<br>
                            <input type="checkbox" id="gllx3" name="gllx" value="3" />公司自有资金投资的企业的关联企业<br>
                            <input type="checkbox" id="gllx4" name="gllx" value="4" />公司以托管或信托等其他方式控制的企业<br>
                            <input type="checkbox" id="gllx5" name="gllx" value="5" />公司的董事、监事、经理<br>
                            <input type="checkbox" id="gllx6" name="gllx" value="6" />公司的董事、监事、经理投资持股 5%以上<br>
                            <input type="checkbox" id="gllx7" name="gllx" value="7" />其他关联方 
                        </td>
					</tr>
					<tr>
                        <td>
                            关联交易目的:
                        </td>
                        <td>
                            <input type="text" id="gljymd" name="gljymd" style="width: 320px;">
                        </td>
                        <td>
                            关联交易定价:
                        </td>
                        <td>
                            <input type="text" id="gljydj" name="gljydj" style="width: 320px;">
                        </td>
					</tr>
					<tr>
                        <td>
                            净值披露频度:
                        </td>
                        <td>
                            <select id="jzplpd" name="jzplpd" style="width: 320px;">
								<option value=""></option>
                                <option value="0">工作日</option>
                                <option value="1">自然日</option>
                                <option value="2">周</option>
                                <option value="3">双周</option>
                                <option value="4">旬</option>
                                <option value="5">半月</option>
                                <option value="6">月度</option>
                                <option value="7">季度</option>
                                <option value="b">半年</option>
                                <option value="8">年度</option>
                                <option value="9">其他频度</option>
                                <option value="a">不定期</option>
                                <option value="c">无</option>
                            </select>
                        </td>
                        <td>
                            <span class="required">*</span>资产管理报告频度:
                        </td>
                        <td>
                            <select id="zcglbgpd" name="zcglbgpd" style="width: 320px;">
                                <option value="0">无</option>
                                <option value="1">日</option>
                                <option value="2">周</option>
                                <option value="3">双周</option>
                                <option value="4">旬</option>
                                <option value="5">半月</option>
                                <option value="6">月度</option>
                                <option value="7">季度</option>
                                <option value="b">半年</option>
                                <option value="8">年度</option>
                                <option value="9">其他频度</option>
                                <option value="a">不定期</option>
                            </select>
                        </td>
					</tr>
					<tr>
                        <td>
                            <span class="required">*</span>清算报告披露标识:
                        </td>
                        <td>
                            <input type="radio" name="qsbgplbs" value="0" />否
                            <input type="radio" name="qsbgplbs" value="1" />是
                        </td>
                        <td>
                            <span class="required">*</span>信托产品所属部门:
                        </td>
                        <td>
                            <input type="text" id="xtcpssbm" name="xtcpssbm" style="width: 320px;">
                        </td>
					</tr>
					<tr>
                        <td>
                            <span class="required">*</span>信托经理姓名:
                        </td>
                        <td>
                            <input type="text" id="xtjlxm" name="xtjlxm" style="width: 320px;">
                        </td>
                        <td>
                            <span class="required">*</span>分管高级管理人员姓名:
                        </td>
                        <td>
                            <input type="text" id="fggjglry" name="fggjglry" style="width: 320px;">
                        </td>
					</tr>
					<tr>
                        <td>
                            <span class="required">*</span>联系电话:
                        </td>
                        <td colspan="3">
                            <input type="text" id="lxdh" name="lxdh" style="width: 320px;">
                        </td>
					</tr>
                </table>
                <div style="height: 10px;"></div>
                <div style="height: 20px; text-align: right;">
                    <button type="button" onclick="javascript:onSave();" class="btn btn-danger">保 存</button>&nbsp;&nbsp;
                </div>
            </div>
		</div>
		<div class="tab-pane fade" id="initInfo2">
            <div style="height:620px;overflow-y:auto">
                <iframe src="" id="jydsIFrame" name="jydsIFrame" seamless="" frameborder="0" height="610px" width="100%"></iframe>
                <!-- <div id="jydsysInfo">
                    
                </div>
                <div style="height: 10px;"></div> -->
                <!-- <div
                    style="width: 100%; height: 30px; text-align: center; line-height: 30px; background-color: #C0C0C0;">
                    <a href="#" onclick="addJydsys('','','');">点击更多交易对手</a></div> -->
            </div>
		</div>
		<div class="tab-pane fade" id="initInfo3">
            <div style="height:620px;overflow-y:auto">
                <iframe src="" id="syqjgIFrame" name="syqjgIFrame" seamless="" frameborder="0" height="610px" width="100%"></iframe>
                <!-- <div id="syqjgInfo">
                    
                </div>
                <div style="height: 10px;"></div> -->
                <!-- <div
                    style="width: 100%; height: 30px; text-align: center; line-height: 30px; background-color: #C0C0C0;">
                    <a href="#" onclick="addSyqjg(0,'','',0,'',0,'','','','');">点击更多受益权结构</a></div> -->
            </div>
		</div>
		<div class="tab-pane fade" id="initInfo4">
            <div style="height:620px;overflow-y:auto">
                <iframe src="" id="xthtIFrame" name="xthtIFrame" seamless="" frameborder="0" height="610px" width="100%"></iframe>
            </div>
		</div>
		<div class="tab-pane fade" id="initInfo5">
            <div style="height:620px;overflow-y:auto">
                <iframe src="" id="yhzjzhIFrame" name="yhzjzhIFrame" seamless="" frameborder="0" height="610px" width="100%"></iframe>
                <!-- <div id="yhzjzhInfo">
                    
                </div>
                <div style="height: 10px;"></div> -->
                <!-- <div
                    style="width: 100%; height: 30px; text-align: center; line-height: 30px; background-color: #C0C0C0;">
                    <a href="#" onclick="addYhzjzh('','','','','','','');">点击更多银行资金账户</a></div> -->
            </div>
		</div>
		<div class="tab-pane fade" id="initInfo6">
            <div style="height:620px;overflow-y:auto">
                <iframe src="" id="zqlzhIFrame" name="zqlzhIFrame" seamless="" frameborder="0" height="610px" width="100%"></iframe>
                <!-- <div id="zqlzhInfo">
                    
                </div>
                <div style="height: 10px;"></div> -->
                <!-- <div
                    style="width: 100%; height: 30px; text-align: center; line-height: 30px; background-color: #C0C0C0;">
                    <a href="#" onclick="addZqlzh('','','','','','','','','','','','','','','','','','','','','','','','','');">点击更多证券类账户</a></div> -->
            </div>
        </div>
		<div class="tab-pane fade" id="initInfo7">
            <div style="height:620px;overflow-y:auto">
                <iframe src="" id="changeIFrame" name="changeIFrame" seamless="" frameborder="0" height="610px" width="100%"></iframe>
                <!-- <div id="zqlzhInfo">
                    
                </div>
                <div style="height: 10px;"></div> -->
                <!-- <div
                    style="width: 100%; height: 30px; text-align: center; line-height: 30px; background-color: #C0C0C0;">
                    <a href="#" onclick="addZqlzh('','','','','','','','','','','','','','','','','','','','','','','','','');">点击更多证券类账户</a></div> -->
            </div>
        </div>
    </div>
</body>
    
    <script type="text/javascript">
        //初始化数据
        let ydjData = new Object();
        $(function () {
            //获取流程参数
            let flowid = GetQueryValue('flowid');
            let itemid = GetQueryValue('itemid');
			let taskid = GetQueryValue('taskid');
			let nextnode = GetQueryValue('nextnode');
            let xtdjlx = GetQueryValue('xtdjlx');
            
			if(nextnode=="X644307B0B24442290B4A6BAED269009"){
				jQuery("#trtrust").show();
			}else{
				jQuery("#trtrust").hide();
			}
            if (taskid == null) {
                itemid = "1@@"+itemid+"@@"+xtdjlx;
            } else {
                itemid = "2@@"+taskid;
            }
			//if(xtdjlx=="5" || xtdjlx=="6"){
			//	$('initInfo7').show();//就隐藏div
			//}
            find_app_dfs_zxd_cscpxx_by_regitem_id(flowid, itemid);
        });

        //初始化数据字典
        function initSelect(id, region_code, val) {
            jQuery.ajax({
                //请求方式
                type: "POST",
                //请求地址
                url: "/node/query_app_dfs_scode_content",
                //数据，json对象
                data: { "region_code": region_code, "item_code": "" },
                success: function (data) {
                    if (data != "" && data.length != 1) {
                        $.each(data, function (index, item) {
                            if (item.ITEM_CODE == val) {
                                $("#" + id).append("<option value='" + item.ITEM_CODE + "' selected>" + item.ITEM_NAME + "</option>");
                            } else {
                                $("#" + id).append("<option value='" + item.ITEM_CODE + "'>" + item.ITEM_NAME + "</option>");
                            }
                        });
                    }
                }
            });
        }

        //查询初始登记-产品信息要素
        function find_app_dfs_zxd_cscpxx_by_regitem_id(flowid, itemid) {
            //根据项目ID采集现有信息
            jQuery.ajax({
                data: { "flowid": flowid, "itemid": itemid },
                url: "/node/find_app_dfs_zxd_cscpxx_by_regitem_id/" + itemid,
                async: false,
                cache: false,
                success: function (data) {
                    ydjData = data;

					$("#handledate").val(data.handledate);
					$("#overdate").val(data.overdate);
					$("#djlx").val(data.djlx);
                    //$("#xtjgmc").val(data.xtjgmc);
                    $("#cpqc").val(data.cpqc);
                    $("#djcpbh").val(data.djcpbh);
                    $("#gscpbh").val(data.gscpbh);
                    $("input[name='sfxtzcp'][value="+data.sfxtzcp+"]").attr("checked", true);
					$("#sdbs").val(data.sdbs);
                    $("#fqzcpnbbh").val(data.fqzcpnbbh);
                    $("#xtccxz").val(data.xtccxz);
					
                    $("#dyjhbz").val(data.dyjhbz);
					$("#ccqxtcfzr").val(data.ccqxtcfzr);
                    $("#stzz").val(data.stzz);
                    $("#xtgn").val(data.xtgn);
                    $("#yxfs").val(data.yxfs);
                    $("#kffbbs").val(data.kffbbs);
                    $("#xtsyfs").val(data.xtsyfs);
                    $("#syfssm").val(data.syfssm);
                    $("#jghbs").val(data.jghbs);
                    $("#jghyxlhbl").val(data.jghyxlhbl);
                    $("input[name='zjcbs'][value="+data.zjcbs+"]").attr("checked", true);
                    $("#totbs").val(data.totbs);
                    $("#glmxt").val(data.glmxt);
                    $("#glzxt").val(data.glzxt);
                    $("#csmjje").val(data.csmjje);
                    $("#csmjfe").val(data.csmjfe);
                    initSelect("zjjsbz", "Init011", data.zjjsbz);
                    $("#yqmjzje").val(data.yqmjzje);
                    $("#yqmjzfe").val(data.yqmjzfe);
                    initSelect("yqmjzebz", "Init011", data.yqmjzebz);
                    $("#zyyyly_ctq").val(data.zyyyly_ctq);
                    initSelect("zytxhy_ctq", "Init013", data.zytxhy_ctq);
                    $("#ccglyyfs").val(data.ccglyyfs);
                    $("#ccglyyfs_ccq").val(data.ccglyyfs_ccq);
                    $("input[name='xdzcjsyq'][value="+data.xdzcjsyq+"]").attr("checked", true);
                    $("input[name='zczqhbs'][value="+data.zczqhbs+"]").attr("checked", true);
                    let tsyw = data.tsyw.split(",");
                    $.each(tsyw, function (index, value) {
                        $("#tsyw"+value).attr("checked", "checked");
                    });
                    $("#ywxism").val(data.ywxism);
                    $("#syllx").val(data.syllx);
                    $("#zdyqsyl").val(data.zdyqsyl);
                    $("#zgyqsyl").val(data.zgyqsyl);
                    $("#xtbclx").val(data.xtbclx);
                    $("#xtbcl").val(data.xtbcl);
                    $("#xtbc").val(data.xtbc);
                    $("#htydbcsm").val(data.htydbcsm);
                    $("input[name='fxxmbs'][value="+data.fxxmbs+"]").attr("checked", true);
                    $("#fxtzbs").val(data.fxtzbs);
                    $("#fxczjz").val(data.fxczjz);
                    $("#fxhscsnew").val(data.fxhscsnew);
					if(data.fxhscs!=null && fxhscs.gzjg!='')
					{
						let fxhscs = data.fxhscs.split(",");
						$.each(fxhscs, function (index, value) {
							$("#fxhscs"+value).attr("checked", "checked");
						});
					}
                    $("#fxczcsbhbcsm").val(data.fxczcsbhbcsm);
                    $("input[name='sfgdqxcp'][value="+data.sfgdqxcp+"]").attr("checked", true);
                    $("#xtcpsjclrq").val(data.xtcpsjclrq);
                    $("#cpjhdqr").val(data.cpjhdqr);
                    $("#kfpd").val(data.kfpd);
                    $("#shdxzxtj").val(data.shdxzxtj);
                    $("input[name='ktqshbs'][value="+data.ktqshbs+"]").attr("checked", true);
                    let tjfs = data.tjfs.split(",");
                    $.each(tjfs, function (index, value) {
                        $("#tjfs"+value).attr("checked", "checked");
                    });
                    let tjmj = data.tjmj.split(",");
                    $.each(tjmj, function (index, value) {
                        $("#tjmj"+value).attr("checked", "checked");
                    });
                    $("input[name='ydtjbs'][value="+data.ydtjbs+"]").attr("checked", true);
                    $("#xmtjf").val(data.xmtjf);
					$("#sfgz").val(data.sfgz);
                    $("#gzms").val(data.gzms);
                    $("#gzcj").val(data.gzcj);
					if(data.gzjg!=null && data.gzjg!='')
					{
						let gzjg = data.gzjg.split(",");
						$.each(gzjg, function (index, value) {
							$("#gzjg"+value).attr("checked", "checked");
						});
						//$("input[name='gzjg'][value="+data.gzjg+"]").attr("checked", true);
					}
                    $("#jzpgpd").val(data.jzpgpd);
                    $("#jntgjg").val(data.jntgjg);
                    $("#jwtgdljg").val(data.jwtgdljg);
                    $("#jwtgdljggb").val(data.jwtgdljggb);
                    $("input[name='tzgwbs'][value="+data.tzgwbs+"]").attr("checked", true);
                    $("#tzgwbh").val(data.tzgwbh);
					if(data.grjgbs!=null && data.grjgbs!='')
					{
						let grjgbs = data.grjgbs.split(",");
						$.each(grjgbs, function (index, value) {
							$("#grjgbs"+value).attr("checked", "checked");
						});
					}
					$("input[name='gljybs'][value="+data.gljybs+"]").attr("checked", true);
					if(data.gljylx!=null && data.gljylx!='')
					{
						let gljylx = data.gljylx.split(",");
						$.each(gljylx, function (index, value) {
							$("#gljylx"+value).attr("checked", "checked");
						});
					}
                    $("#gljybcsm").val(data.gljybcsm);
					if(data.gllx!=null && data.gllx!='')
					{
						let gllx = data.gllx.split(",");
						$.each(gllx, function (index, value) {
							$("#gllx"+value).attr("checked", "checked");
						});
					}
                    $("#gljymd").val(data.gljymd);
                    $("#gljydj").val(data.gljydj);
                    $("#jzplpd").val(data.jzplpd);
                    $("#zcglbgpd").val(data.zcglbgpd);
                    $("input[name='qsbgplbs'][value="+data.qsbgplbs+"]").attr("checked", true);
                    $("#xtcpssbm").val(data.xtcpssbm);
                    $("#xtjlxm").val(data.xtjlxm);
                    $("#fggjglry").val(data.fggjglry);
                    $("#lxdh").val(data.lxdh);
					changeInfo(1);
					changeInfo(3);
					changeInfo(4);
					changeInfo(7);
					changeInfo(8);
					changeInfo(10);					

                    $('#myTab a').click(function (e) {
                        var activeTab = $(e.target).text();
                        if (activeTab.indexOf("交易对手") != -1 ) {
                            $('#jydsIFrame').attr('src', "/node/jydsList.html" + '?uuid=' + data.uuid + '&bsid=' + data.bsid + '&regitem_id=' + data.regitem_id + '&productid=' + data.productid + '&productcode=' + data.productcode);
                        } else if (activeTab.indexOf("受益权结构") != -1 ) {
                            $('#syqjgIFrame').attr('src', "/node/syqjgList.html" + '?uuid=' + data.uuid + '&bsid=' + data.bsid + '&regitem_id=' + data.regitem_id + '&productid=' + data.productid + '&productcode=' + data.productcode);
                        } else if (activeTab.indexOf("信托合同") != -1 ) {
                            $('#xthtIFrame').attr('src', "/node/xthtList.html" + '?uuid=' + data.uuid + '&bsid=' + data.bsid + '&regitem_id=' + data.regitem_id + '&productid=' + data.productid + '&productcode=' + data.productcode);
                        } else if (activeTab.indexOf("银行资金账户") != -1 ) {
                            $('#yhzjzhIFrame').attr('src', "/node/yhzjzhList.html" + '?uuid=' + data.uuid + '&bsid=' + data.bsid + '&regitem_id=' + data.regitem_id + '&productid=' + data.productid + '&productcode=' + data.productcode);
                        } else if (activeTab.indexOf("证券类账户") != -1 ) {
                            $('#zqlzhIFrame').attr('src', "/node/zqlzhList.html" + '?uuid=' + data.uuid + '&bsid=' + data.bsid + '&regitem_id=' + data.regitem_id + '&productid=' + data.productid + '&productcode=' + data.productcode);
                        } else if (activeTab.indexOf("变更与更正事项") != -1 ) {
							if(data.djlx=="2" || data.djlx=="3"){
								$('#changeIFrame').attr('src', "/node/changeList.html" + '?uuid=' + data.uuid + '&bsid=' + data.bsid + '&regitem_id=' + data.regitem_id + '&productid=' + data.productid + '&productcode=' + data.productcode);
							}else{
								alert("初始登记与初始登记(补办)不需要填写变更与更正事项!");
								return;
							}
						}
                    })
                }
            });
        }
		//设置text,textarea和select对应值
		function setFormValue(name,value){
			$('#'+name).val(value);
		}
		
		//设置Radio对应值
		function setRadioValue(name,value){
			if(value==""){
				$("input[name="+name+"]").prop("checked",false);
			}else{
				$("input[name="+name+"][value="+value+"]").attr("checked", true);
			}
		}
		
		//设置Box对应值
		function setBoxValue(name,content){	
			if(content.indexOf('No,')>=0)
			{
				content=content.replace('No,','');
				let returnValue = content.split(",");
				$.each(returnValue, function (index, value) {
					$("#"+name+value).attr("checked",false)
				});
			}else{
				let returnValue = content.split(",");
				$.each(returnValue, function (index, value) {
					$("#"+name+value).attr("checked",true)
				});			
			}
		}
		
		//获取text,textarea和select对应值
		function getFormValue(name){
			let value = $('#'+name).val();
			return value;
		}
		
		//获取Radio对应值
		function getRadioValue(name){
			let value = $("input[name="+name+"]:checked").val();
			return value;
		}
		
		//获取Box对应值
		function getBoxValue(name){
			let value = $("input:checkbox[name="+name+"]:checked");
            let chvalue = [];
            $.each(value, function () {
                chvalue.push($(this).val());
            });
            value = chvalue.join(",");
			return value;
		}
		
		//日期格式化处理
		Date.prototype.Format = function(fmt)  
		{ 
			var o = {  
				"M+" : this.getMonth()+1,         //月份  
				"d+" : this.getDate(),          //日  
				"h+" : this.getHours(),          //小时  
				"m+" : this.getMinutes(),         //分  
				"s+" : this.getSeconds(),         //秒  
				"q+" : Math.floor((this.getMonth()+3)/3), //季度  
				"S" : this.getMilliseconds()       //毫秒  
			};  
			if(/(y+)/.test(fmt))  
				fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length));  
			for(var k in o)  
				if(new RegExp("("+ k +")").test(fmt))  
			fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));  
			return fmt;  
		}

		//字段必输项+内容大小限制校验
        function checkInfo(name,content,flag,type){
			if(type=='text') value = getFormValue(name);
			else if(type=='box') value = getBoxValue(name);
			else if(type=='radio') value = getRadioValue(name);
			else value = getFormValue(name);
			if(flag=="required")
			{
				if(typeof(value)=="undefined" || value==null || value.length==0 || value==''){
					alert("字段["+content+"]为必填项!");
					document.getElementById(name).focus();
					return false;
				}
			}else if(flag=="length"){
				if(!(typeof(value)=="undefined" || value==null || value.length==0 || value=='') && value.length>type){
					alert("字段["+content+"]内容超过最大限制!");
					document.getElementById(name).focus();
					return false;
				}			
			}else if(flag=="number"){
				if(!(typeof(value)=="undefined" || value==null || value.length==0 || value=='')){
					var typeValue=type.split(",");
					if(value.indexOf(".")<0) value=value+'.00';
					var contentValue=value.split(".");
					if(contentValue[0].length > (typeValue[0]-typeValue[1]) || contentValue[1].length > typeValue[1]){
						alert("字段["+content+"]内容超过最大限制!");
						document.getElementById(name).focus();
						return false;
					}					
				}			
			}
			return true;
		}
		
		//保存之前逻辑性校验
		function logicCheck(){
			//信托登记系统产品编码控制
			var djlx=getFormValue('djlx');
			var djcpbh=getFormValue('djcpbh');
			if(djlx!="8" && (typeof(djcpbh)=="undefined" || djcpbh==null  || djcpbh=='')){
				alert("[登记类型]选择【初始登记】或【变更登记】或【更正登记】时,[信托登记系统产品编码]为必填项!");
				$("input[name=djcpbh]").focus();
				return false;
			}			
			if(djlx=="8") setFormValue('djcpbh','');
			//三单标识+第一期产品信托登记系统产品编码控制
			var sfxtzcp=getRadioValue('sfxtzcp');
			var sdbs=getFormValue('sdbs');
			var fqzcpnbbh=getFormValue('fqzcpnbbh');
			if(sfxtzcp =="1" && (typeof(sdbs)=="undefined" || sdbs==null  || sdbs=='')){
				alert("[分期发行标识]选择【是】时,[三单标识]为必填项!");
				$("input[name=sdbs]").focus();
				return false;
			}
			if(sfxtzcp =="1" && (typeof(fqzcpnbbh)=="undefined" || fqzcpnbbh==null  || fqzcpnbbh=='')){
				alert("[分期发行标识]选择【是】时,[第一期产品信托登记系统产品编码]为必填项!");
				$("input[name=fqzcpnbbh]").focus();
				return false;
			}
			if(sfxtzcp =="0"){
				setFormValue('sdbs','');
				setFormValue('fqzcpnbbh','');
			}
			//财产权信托进行受益权拆分转让或者对外发行受益权标识控制
			var xtccxz=getFormValue('xtccxz');
			var ccqxtcfzr=getFormValue('ccqxtcfzr');
			if((xtccxz=="1" || xtccxz=="2") && (typeof(ccqxtcfzr)=="undefined" || ccqxtcfzr==null  || ccqxtcfzr==''))
			{
				alert("当[信托财产性质标识]勾选【财产权】或【混合】时,字段[财产权信托进行受益权拆分转让或者对外发行受益权标识]为必填项!");
				$("input[name=ccqxtcfzr]").focus();
				return false;
			}
			if(xtccxz=="0") setFormValue('ccqxtcfzr','');
			//受益方式说明控制
			var xtsyfs=getFormValue('xtsyfs');
			var syfssm=getFormValue('syfssm');
			if(xtsyfs=="3" && (typeof(syfssm)=="undefined" || syfssm==null  || syfssm==''))
			{
				alert("当[受益方式标识]选择【其他】时,字段[受益方式说明]为必填项!");
				$("input[name=syfssm]").focus();
				return false;
			}
			//结构化优先劣后比例控制
			var jghbs=getFormValue('jghbs');
			var jghyxlhbl=getFormValue('jghyxlhbl');
			if((jghbs=="0" || jghbs=="1") && (typeof(jghyxlhbl)=="undefined" || jghyxlhbl==null  || jghyxlhbl==''))
			{
				alert("当[结构化标识]勾选【单账户结构化】或【多账户结构化（伞形信托）】时,字段[结构化优先劣后比例]为必填项!");
				$("input[name=jghyxlhbl]").focus();
				return false;
			}
			if(jghbs=="2") setFormValue('jghyxlhbl','');
			//关联母信托+关联子信托控制
			var totbs=getFormValue('totbs');
			var glmxt=getFormValue('glmxt');
			var glzxt=getFormValue('glzxt');
			if(totbs=="2" && (typeof(glmxt)=="undefined" || glmxt==null  || glmxt ==''))
			{
				alert("当[TOT标识]勾选【TOT子信托】时,字段[关联母信托]为必填项,应填写母信托登记系统产品编码!");
				$("input[name=glmxt]").focus();
				return false;
			}
			if(totbs=="1" && (typeof(glzxt)=="undefined" || glzxt==null  || glzxt ==''))
			{
				alert("当[TOT标识]勾选【TOT母信托】时,字段[关联子信托]为必填项,应填写子信托登记系统产品编码!");
				$("input[name=glzxt]").focus();
				return false;
			}		
			if(totbs=="0" || totbs=="1") setFormValue('glmxt','');
			if(totbs=="0") setFormValue('glzxt','');			
			//预期募集总金额+预期募集总份额+预期募集总额币种
			var yqmjzje=getFormValue('yqmjzje');
			var yqmjzfe=getFormValue('yqmjzfe');
			var yqmjzebz=getFormValue('yqmjzebz');
			if(sfxtzcp=="1" && sdbs=="0" && (typeof(yqmjzje)=="undefined"  || yqmjzje==null  || yqmjzje =='')){
				alert("当[分期发行标识]勾选【是】且[三单标识]勾选【否】时,字段[预期募集总金额]为必填项!");
				$("input[name=yqmjzje]").focus();
				return false;			
			}
			if(sfxtzcp=="1" && sdbs=="0" && (typeof(yqmjzfe)=="undefined"  || yqmjzfe==null  || yqmjzfe =='')){
				alert("当[分期发行标识]勾选【是】且[三单标识]勾选【否】时,字段[预期募集总份额]为必填项!");
				$("input[name=yqmjzfe]").focus();
				return false;			
			}
			if(sfxtzcp=="1" && sdbs=="0" && (typeof(yqmjzebz)=="undefined"  || yqmjzebz==null  || yqmjzebz =='')){
				alert("当[分期发行标识]勾选【是】且[三单标识]勾选【否】时,字段[预期募集总额币种]为必填项!");
				$("input[name=yqmjzebz]").focus();
				return false;			
			}
			//财产主要运用方式(资金信托)+财产主要运用方式(财产权信托)
			var ccglyyfs=getFormValue('ccglyyfs');
			var ccglyyfs_ccq=getFormValue('ccglyyfs_ccq');
			if((xtccxz=="0" || xtccxz=="2") && (typeof(ccglyyfs)=="undefined" || ccglyyfs==null  || ccglyyfs ==''))
			{
				alert("当[信托财产性质]勾选【资金】或【混合】时,字段[财产主要运用方式(资金信托)]为必填项!");
				$("input[name=ccglyyfs]").focus();
				return false;
			}
			if(xtccxz=="1") setFormValue('ccglyyfs','');
			if((xtccxz=="1" || xtccxz=="2") && (typeof(ccglyyfs_ccq)=="undefined" || ccglyyfs_ccq==null  || ccglyyfs_ccq==''))
			{
				alert("当[信托财产性质]勾选【财产权】或【混合】时,字段[财产主要运用方式(财产权信托)]为必填项!");
				$("input[name=ccglyyfs_ccq]").focus();
				return false;
			}
			if(xtccxz=="0") setFormValue('ccglyyfs_ccq','');
			//基准收益率(下限)+基准收益率 (上限)
			var syllx=getFormValue('syllx');
			var zdyqsyl=getFormValue('zdyqsyl');
			var zgyqsyl=getFormValue('zgyqsyl');
			if((syllx=="0" || syllx=="1") && (typeof(zdyqsyl)=="undefined" || zdyqsyl==null  || zdyqsyl==''))
			{
				alert("[收益率类型]选择【基准收益率】或者【基准+浮动】时,字段[基准收益率(下限)]为必填项!");
				$("input[name=zdyqsyl]").focus();
				return false;
			}
			if(!(zgyqsyl.indexOf('%')>=0 || zgyqsyl.indexOf('％')>=0) && !(typeof(zgyqsyl)=="undefined" || zgyqsyl==null  || zgyqsyl==''))
			{
				alert("字段[基准收益率 (上限)]填写格式为百分数，不接受自然数!");
				$("input[name=zgyqsyl]").focus();
				return false;
			}			
			if(syllx=="2" || syllx=="3") setFormValue('zdyqsyl','');
			//合同约定的信托报酬率（固定费率）+合同约定的信托报酬率（固定金额）
			var xtbclx=getFormValue('xtbclx');
			var xtbcl=getFormValue('xtbcl');
			var xtbc=getFormValue('xtbc');
			if((xtbclx=="0" || xtbclx=="1") && (typeof(xtbcl)=="undefined" || xtbcl==null  || xtbcl=='') && (typeof(xtbc)=="undefined" || xtbc==null  || xtbc==''))
			{
				alert("[信托报酬类型]选择【固定】或者【固定+浮动】时,字段[合同约定的信托报酬率（固定费率）]和[合同约定的信托报酬率（固定金额）]中至少有一项为必填项!");
				$("input[name=xtbcl]").focus();
				return false;
			}	
			if(xtbclx=="2" || xtbclx=="3"){
				setFormValue('xtbcl','');	
				setFormValue('xtbc','');	
			}
			//风险台账标识+风险处置进展+风险缓释措施
			var fxxmbs=getRadioValue('fxxmbs');
			var fxtzbs=getFormValue('fxtzbs');
			var fxczjz=getFormValue('fxczjz');
			var fxhscsnew=getFormValue('fxhscsnew');
			if(fxxmbs=="1" && (typeof(fxtzbs)=="undefined" || fxtzbs==null  || fxtzbs==''))
			{
				alert("当[风险台账标识]勾选【是】时,字段[风险台账标识]为必填项!");
				$("input[name=fxtzbs]").focus();
				return false;
			}
			if(fxxmbs=="1" && (typeof(fxczjz)=="undefined" || fxczjz==null  || fxczjz==''))
			{
				alert("当[风险台账标识]勾选【是】时,字段[风险处置进展]为必填项!");
				$("input[name=fxczjz]").focus();
				return false;
			}
			if(fxxmbs=="1" && (typeof(fxhscsnew)=="undefined" || fxhscsnew==null  || fxhscsnew==''))
			{
				alert("当[风险台账标识]勾选【是】时,字段[风险缓释措施]为必填项!");
				$("input[name=fxhscsnew]").focus();
				return false;
			}		
			if(fxxmbs=="0"){
				setFormValue('fxtzbs','');		
				setFormValue('fxczjz','');	
				setFormValue('fxhscsnew','');	
			}
			//开放式产品开放频度
			var kffbbs=getFormValue('kffbbs');
			var kfpd=getFormValue('kfpd');
			if((kffbbs=="1") && (typeof(kfpd)=="undefined" || kfpd==null  || kfpd==''))
			{
				alert("当[开放/封闭标识]勾选【开放式】时,字段[开放式产品开放频度]为必填项!");
				$("input[name=kfpd]").focus();
				return false;
			}
			if(kffbbs=="0") setFormValue('kfpd','');	
			//是否估值
			var yxfs=getFormValue('yxfs');
			var sfgz=getFormValue('sfgz');
			var gzms=getFormValue('gzms');
			var gzcj=getFormValue('gzcj');
			var gzjg=getBoxValue('gzjg');
			var jzpgpd=getFormValue('jzpgpd');
			if(yxfs=="0" && (typeof(sfgz)=="undefined" || sfgz==null  || sfgz==''))
			{
				alert("当[运行方式标识]勾选【净值型】时,字段[是否估值]为必填项!");
				$("input[name=sfgz]").focus();
				return false;
			}
			if(sfgz=="1" && (typeof(gzms)=="undefined" || gzms==null  || gzms==''))
			{
				alert("当[是否估值]勾选【是】时,字段[估值模式]为必填项!");
				$("input[name=gzms]").focus();
				return false;
			}
			if(sfgz=="1" && (typeof(gzcj)=="undefined" || gzcj==null  || gzcj==''))
			{
				alert("当[是否估值]勾选【是】时,字段[估值层级]为必填项!");
				$("input[name=gzcj]").focus();
				return false;
			}
			if(sfgz=="1" && (typeof(gzjg)=="undefined" || gzjg==null  || gzjg==''))
			{
				alert("当[是否估值]勾选【是】时,字段[估值机构]为必填项!");
				$("input[name=gzjg]").focus();
				return false;
			}
			if(sfgz=="1" && (typeof(jzpgpd)=="undefined" || jzpgpd==null  || jzpgpd==''))
			{
				alert("当[是否估值]勾选【是】时,字段[净值评估频度]为必填项!");
				$("input[name=jzpgpd]").focus();
				return false;
			}
			if(sfgz=="0"){
				setFormValue('gzms','');
				setFormValue('gzcj','');
				setBoxValue('gzjg','No,0,1,2,3');
			}
			//投资顾问编号
			var tzgwbs=getRadioValue('tzgwbs');
			var tzgwbh=getFormValue('tzgwbh');
			if(tzgwbs=="1" && (typeof(tzgwbh)=="undefined" || tzgwbh==null  || tzgwbh==''))
			{
				alert("当[投资顾问标识]勾选【是】时,字段[投资顾问编号]为必填项，投资顾问为机构的，填写投资顾问机构的统一社会信用代码!");
				$("input[name=tzgwbh]").focus();
				return false;
			}	
			if(tzgwbs=="0") setFormValue('tzgwbh','');
			//交易对手个人/机构标识
			var xtgn=getFormValue('xtgn');
			var grjgbs=getBoxValue('grjgbs');
			if(xtgn=="1" && (typeof(grjgbs)=="undefined" || grjgbs==null  || grjgbs==''))
			{
				alert("当[信托功能标识]勾选【融资类】时,字段[交易对手个人/机构标识]为必填项!");
				$("input[name=grjgbs]").focus();
				return false;
			}
			//净值披露频度
			var jzplpd=getFormValue('jzplpd');
			if(yxfs=="0" && (typeof(jzplpd)=="undefined" || jzplpd==null  || jzplpd==''))
			{
				alert("当[运行方式标识]勾选【净值型】时,字段[净值披露频度]为必填项!");
				$("input[name=jzplpd]").focus();
				return false;
			}
			//关联交易类型
			var gljybs=getRadioValue('gljybs');
			var gljylx=getBoxValue('gljylx');
			var gljybcsm=getFormValue('gljybcsm');
			var gllx=getBoxValue('gllx');
			var gljymd=getFormValue('gljymd');
			var gljydj=getFormValue('gljydj');
			if(gljybs=='1' && (typeof(gljylx)=="undefined" || gljylx==null  || gljylx=='')){
				alert("[关联交易标识]选择【是】时,[关联交易类型]为必填项!");
				$("input[name=gljylx]").focus();
				return false;
			}
			if(gljybs=='1' && gljylx.indexOf('4')>=0 && (typeof(gljybcsm)=="undefined" || gljybcsm==null  || gljybcsm=='')){
				alert("[关联交易标识]选择【是】且[关联交易类型]选择【其他关联交易】时,[关联交易补充说明]为必填项!");
				$("input[name=gljylx]").focus();
				return false;
			}
			if(gljybs=='1' && (typeof(gllx)=="undefined" || gllx==null  || gllx=='')){
				alert("[关联交易标识]选择【是】时,[关联方类型]为必填项!");
				$("input[name=gllx]").focus();
				return false;
			}
			if(gljybs=='1' && (typeof(gljymd)=="undefined" || gljymd==null  || gljymd=='')){
				alert("[关联交易标识]选择【是】时,[关联交易目的]为必填项!");
				$("input[name=gljymd]").focus();
				return false;
			}	
			if(gljybs=='1' && (typeof(gljydj)=="undefined" || gljydj==null  || gljydj=='')){
				alert("[关联交易标识]选择【是】时,[关联交易定价]为必填项!");
				$("input[name=gljydj]").focus();
				return false;
			}				
			if(gljybs=='0'){
				setBoxValue('gljylx','No,0,1,2,3,4');
				setBoxValue('gllx','No,0,1,2,3,4,5,6,7');
				setFormValue('gljymd','');
				setFormValue('gljydj','');
			}				
			return true;
		}			
		
		//保存之前必输项校验
		function requiredCheck(){
			let nextnode = GetQueryValue('nextnode');
			if(nextnode=="X644307B0B24442290B4A6BAED269009")
			{
				//if(!checkInfo('handledate','办理日期','required','text')) return false;
				//if(!checkInfo('overdate','初始登记反馈日期','required','text')) return false;
			}
			if(!checkInfo('cpqc','信托产品名称','required','text')) return false;
			if(!checkInfo('gscpbh','信托产品内部编号','required','text')) return false;
			if(!checkInfo('csmjje','初始募集金额','required','text')) return false;
			if(!checkInfo('csmjfe','初始募集份额','required','text')) return false;
			if(!checkInfo('zyyyly_ctq','主要运用领域','required','text')) return false;
			if(!checkInfo('zytxhy_ctq','主要投向行业','required','text')) return false;
			if(!checkInfo('tsyw','特色业务标识','required','box')) return false;	
			if(!checkInfo('htydbcsm','信托报酬说明','required','text')) return false;
			if(!checkInfo('fxhscs','风险控制措施','required','box')) return false;
			if(!checkInfo('xtcpsjclrq','信托产品成立日期','required','text')) return false;
			if(!checkInfo('cpjhdqr','信托产品计划到期日','required','text')) return false;
			if(!checkInfo('shdxzxtj','赎回的限制性条件','required','text')) return false;
			if(!checkInfo('tjfs','推介方式','required','box')) return false;
			if(!checkInfo('tjmj','推介媒介','required','box')) return false;			
			if(!checkInfo('jntgjg','境内托管机构','required','text')) return false;
			if(!checkInfo('ktqshbs','委托人可提前赎回标识','required','radio')) return false;
			if(!checkInfo('ydtjbs','异地推介标识','required','radio')) return false;
			if(!checkInfo('gljybs','关联交易标识','required','radio')) return false;
			if(!checkInfo('tzgwbs','投资顾问标识','required','radio')) return false;
			if(!checkInfo('xtbclx','信托报酬类型','required','text')) return false;
			if(!checkInfo('xtcpssbm','信托产品所属部门','required','text')) return false;
			if(!checkInfo('xtjlxm','信托经理姓名','required','text')) return false;
			if(!checkInfo('fggjglry','分管高级管理人员姓名','required','text')) return false;
			if(!checkInfo('lxdh','联系电话','required','text')) return false;
			
			return true;
		}				
		
		//保存之前内容大小限制校验
		function sizeCheck(){		
			if(!checkInfo('csmjje','初始募集金额','number','16,2')) return false;
			if(!checkInfo('csmjfe','初始募集份额','number','16,2')) return false;
			if(!checkInfo('yqmjzje','预期募集总金额','number','16,2')) return false;
			if(!checkInfo('yqmjzfe','预期募集总份额','number','16,2')) return false;
			if(!checkInfo('zdyqsyl','基准收益率(下限) ','number','8,6')) return false;
			if(!checkInfo('xtbcl','合同约定的信托报酬率（固定费率）','number','8,6')) return false;
			if(!checkInfo('xtbc','合同约定的信托报酬率（固定金额）','number','16,2')) return false;
			if(!checkInfo('cpqc','信托产品名称','length','50')) return false;
			if(!checkInfo('djcpbh','信托登记系统产品编码','length','50')) return false;
			if(!checkInfo('gscpbh','信托产品内部编号','length','50')) return false;
			if(!checkInfo('syfssm','受益方式说明','length','200')) return false;
			if(!checkInfo('jghyxlhbl','结构化优先劣后比例','length','50')) return false;
			if(!checkInfo('glmxt','关联母信托','length','1000')) return false;
			if(!checkInfo('glzxt','关联子信托','length','1000')) return false;
			if(!checkInfo('ywxism','业务信息说明','length','1000')) return false;
			if(!checkInfo('zgyqsyl','基准收益率 (上限) ','length','200')) return false;
			if(!checkInfo('htydbcsm','信托报酬说明','length','200')) return false;
			if(!checkInfo('fxczcsbhbcsm','风险控制措施变化补充说明','length','500')) return false;
			if(!checkInfo('xtcpsjclrq','信托产品成立日期','length','10')) return false;
			if(!checkInfo('cpjhdqr','信托产品计划到期日','length','10')) return false;
			if(!checkInfo('shdxzxtj','赎回的限制性条件','length','200')) return false;
			if(!checkInfo('jntgjg','境内托管机构','length','50')) return false;
			if(!checkInfo('jwtgdljg','境外托管代理机构','length','50')) return false;
			if(!checkInfo('jwtgdljggb','境外托管代理机构国别','length','50')) return false;
			if(!checkInfo('tzgwbh','投资顾问编号','length','50')) return false;
			if(!checkInfo('gljybcsm','关联交易补充说明','length','1000')) return false;
			if(!checkInfo('gljymd','关联交易目的','length','1000')) return false;
			if(!checkInfo('gljydj','关联交易定价','length','1000')) return false;
			if(!checkInfo('xtcpssbm','信托产品所属部门','length','50')) return false;
			if(!checkInfo('xtjlxm','信托经理姓名','length','50')) return false;
			if(!checkInfo('fggjglry','分管高级管理人员姓名','length','50')) return false;
			if(!checkInfo('lxdh','联系电话','length','50')) return false;
			
			return true;
		}	
		
        //初始登记信息保存
        function onSave() {
			//保存之前必输项校验
			if(!requiredCheck()){
				return false;	
			}		
			//监管报送逻辑校验
			if(!logicCheck()){
				return false;	
			}
			//监管报送内容大小限制校验
			if(!sizeCheck()){
				return false;	
			}			
            //产品信息要素
            ydjData.djlx = $("#djlx").val();
            //ydjData.xtjgmc = $("#xtjgmc").val();
			ydjData.handledate = $("#handledate").val();
			ydjData.overdate = $("#overdate").val();
            ydjData.cpqc = $("#cpqc").val();
            ydjData.djcpbh = $("#djcpbh").val();
            ydjData.gscpbh = $("#gscpbh").val();
            ydjData.sfxtzcp = $("input[name='sfxtzcp']:checked").val();
			ydjData.sdbs = $("#sdbs").val();
            ydjData.fqzcpnbbh = $("#fqzcpnbbh").val();
            ydjData.xtccxz = $("#xtccxz").val();
            ydjData.dyjhbz = $("#dyjhbz").val();
			ydjData.ccqxtcfzr = $("#ccqxtcfzr").val();
            ydjData.stzz = $("#stzz").val();
            ydjData.xtgn = $("#xtgn").val();
            ydjData.yxfs = $("#yxfs").val();
            ydjData.kffbbs = $("#kffbbs").val();
            ydjData.xtsyfs = $("#xtsyfs").val();
            ydjData.syfssm = $("#syfssm").val();
            ydjData.jghbs = $("#jghbs").val();
            ydjData.jghyxlhbl = $("#jghyxlhbl").val();
            ydjData.zjcbs = $("input[name='zjcbs']:checked").val();
            ydjData.totbs = $("#totbs").val();
            ydjData.glmxt = $("#glmxt").val();
            ydjData.glzxt = $("#glzxt").val();
            ydjData.csmjje = $("#csmjje").val();
            ydjData.csmjfe = $("#csmjfe").val();
            ydjData.zjjsbz = $("#zjjsbz").val();
            ydjData.yqmjzje = $("#yqmjzje").val();
            ydjData.yqmjzfe = $("#yqmjzfe").val();
            ydjData.yqmjzebz = $("#yqmjzebz").val();
            ydjData.zyyyly_ctq = $("#zyyyly_ctq").val();
            ydjData.zytxhy_ctq = $("#zytxhy_ctq").val();
            ydjData.ccglyyfs = $("#ccglyyfs").val();
            ydjData.ccglyyfs_ccq = $("#ccglyyfs_ccq").val();
            ydjData.xdzcjsyq = $("input[name='xdzcjsyq']:checked").val();
            ydjData.zczqhbs = $("input[name='zczqhbs']:checked").val();
            let tsyws = $("input:checkbox[name='tsyw']:checked");
            let chtsyws = [];
            $.each(tsyws, function () {
                chtsyws.push($(this).val());
            });
            ydjData.tsyw = chtsyws.join(",");
            ydjData.ywxism = $("#ywxism").val();
            ydjData.syllx = $("#syllx").val();
            ydjData.zdyqsyl = $("#zdyqsyl").val();
            ydjData.zgyqsyl = $("#zgyqsyl").val();
            ydjData.xtbclx = $("#xtbclx").val();
            ydjData.xtbcl = $("#xtbcl").val();
            ydjData.xtbc = $("#xtbc").val();
            ydjData.htydbcsm = $("#htydbcsm").val();
            ydjData.fxxmbs = $("input[name='fxxmbs']:checked").val();
            ydjData.fxtzbs = $("#fxtzbs").val();
            ydjData.fxczjz = $("#fxczjz").val();
            ydjData.fxhscsnew = $("#fxhscsnew").val();
            let fxhscss = $("input:checkbox[name='fxhscs']:checked");
            let chfxhscsss = [];
            $.each(fxhscss, function () {
                chfxhscsss.push($(this).val());
            });
            ydjData.fxhscs = chfxhscsss.join(",");
            ydjData.fxczcsbhbcsm = $("#fxczcsbhbcsm").val();
            ydjData.sfgdqxcp = $("input[name='sfgdqxcp']:checked").val();
            ydjData.xtcpsjclrq = $("#xtcpsjclrq").val();
            ydjData.cpjhdqr = $("#cpjhdqr").val();
            ydjData.kfpd = $("#kfpd").val();
            ydjData.shdxzxtj = $("#shdxzxtj").val();
            ydjData.ktqshbs = $("input[name='ktqshbs']:checked").val();
            let tjfss = $("input:checkbox[name='tjfs']:checked");
            let chtjfss = [];
            $.each(tjfss, function () {
                chtjfss.push($(this).val());
            });
            ydjData.tjfs = chtjfss.join(",");
            let tjmjs = $("input:checkbox[name='tjmj']:checked");
            let chtjmjs = [];
            $.each(tjmjs, function () {
                chtjmjs.push($(this).val());
            });
            ydjData.tjmj = chtjmjs.join(",");
            ydjData.ydtjbs = $("input[name='ydtjbs']:checked").val();
            ydjData.xmtjf = $("#xmtjf").val();
            ydjData.sfgz = $("#sfgz").val();
            ydjData.gzms = $("#gzms").val();
            ydjData.gzcj = $("#gzcj").val();
			let gzjgs = $("input:checkbox[name='gzjg']:checked");
            let chgzjg = [];
            $.each(gzjgs, function () {
                chgzjg.push($(this).val());
            });
			ydjData.gzjg = chgzjg.join(",");
            ydjData.jzpgpd = $("#jzpgpd").val();
            ydjData.jntgjg = $("#jntgjg").val();
            ydjData.jwtgdljg = $("#jwtgdljg").val();
            ydjData.jwtgdljggb = $("#jwtgdljggb").val();
            ydjData.tzgwbs = $("input[name='tzgwbs']:checked").val();
            ydjData.tzgwbh = $("#tzgwbh").val();
            let grjgbss = $("input:checkbox[name='grjgbs']:checked");
            let chgrjgbss = [];
            $.each(grjgbss, function () {
                chgrjgbss.push($(this).val());
            });
            ydjData.grjgbs = chgrjgbss.join(",");
            ydjData.gljybs = $("input[name='gljybs']:checked").val();
            let gljylxs = $("input:checkbox[name='gljylx']:checked");
            let chgljylxs = [];
            $.each(gljylxs, function () {
                chgljylxs.push($(this).val());
            });
            ydjData.gljylx = chgljylxs.join(",");
            ydjData.gljybcsm = $("#gljybcsm").val();
            let gllxs = $("input:checkbox[name='gllx']:checked");
            let chgllxs = [];
            $.each(gllxs, function () {
                chgllxs.push($(this).val());
            });
            ydjData.gllx = chgllxs.join(",");
            ydjData.gljymd = $("#gljymd").val();
            ydjData.gljydj = $("#gljydj").val();
            ydjData.jzplpd = $("#jzplpd").val();
            ydjData.zcglbgpd = $("#zcglbgpd").val();
            ydjData.qsbgplbs = $("input[name='qsbgplbs']:checked").val();
            ydjData.xtcpssbm = $("#xtcpssbm").val();
            ydjData.xtjlxm = $("#xtjlxm").val();
            ydjData.fggjglry = $("#fggjglry").val();
            ydjData.lxdh = $("#lxdh").val();
			
            jQuery.ajax({
                //请求方式
                type: "POST",
                //请求地址
                url: "/node/insert_app_dfs_zxd_cscpxx",
                //数据，json对象
                data: ydjData,
                //请求成功
                success: function (data) {
                    alert("保存成功！");
                },
                //请求失败，包含具体的错误信息
                error: function (e) {
                    alert("保存失败！");
                }
            });
        }

        //获取GET参数
        function GetQueryValue(queryName) {
            var query = decodeURI(window.location.search.substring(1));
            var vars = query.split("&");
            for (var i = 0; i < vars.length; i++) {
                var pair = vars[i].split("=");
                if (pair[0] == queryName) { return pair[1]; }
            }
            return null;
        }
		//初始登记填报说明
        function inputContent(){
			window.open('/node/tianbao.html?type=2','_blank','');
		}
        //选择发生值变化
        function changeInfo(no) {
            if(no=="1"){
				var xtccxz=getFormValue('xtccxz');
				if(xtccxz=="0")
				{			
					$('#ccqxtcfzr').attr("disabled",true);
				}else{
					$('#ccqxtcfzr').attr("disabled",false);
				}				
			}else if(no=="2"){
				var xtxmzqxlx=getFormValue('xtxmzqxlx');
				if(xtxmzqxlx=="1")
				{			
					setFormValue('zdgdqxzfw','');	
					setFormValue('zggdqxzfw','');
				}				
			}else if(no=="3"){
				var fxxmbs=getRadioValue('fxxmbs');
				if(fxxmbs=="0")
				{
					$('#fxtzbs').attr("disabled",true);
					$('#fxczjz').attr("disabled",true);
					$('#fxhscsnew').attr("disabled",true);				
					setFormValue('fxtzbs','');		
					setFormValue('fxczjz','');	
					setFormValue('fxhscsnew','');	
				}else{
					$('#fxtzbs').attr("disabled",false);
					$('#fxczjz').attr("disabled",false);
					$('#fxhscsnew').attr("disabled",false);				
				}
			}else if(no=="4"){
				var gljybs=getRadioValue('gljybs');
				if(gljybs=="0")
				{
					for(var i=0;i<=4;i++) $('#gljylx'+i).attr("disabled",true);
					for(var i=0;i<=7;i++) $('#gllx'+i).attr("disabled",true);
					$('#gljymd').attr("disabled",true);
					$('#gljydj').attr("disabled",true);				
					setBoxValue('gljylx','No,0,1,2,3,4');
					setBoxValue('gllx','No,0,1,2,3,4,5,6,7');
					setFormValue('gljymd','');
					setFormValue('gljydj','');
				}else{
					for(var i=0;i<=4;i++) $('#gljylx'+i).attr("disabled",false);
					for(var i=0;i<=7;i++) $('#gllx'+i).attr("disabled",false);
					$('#gljymd').attr("disabled",false);
					$('#gljydj').attr("disabled",false);
				}
			}else if(no=="5"){
				var syllx=getFormValue('syllx');
				if(syllx=="2" || syllx=="9")
				{
					setFormValue('zdyqsyl','');	
					setFormValue('zgyqsyl','');
				}
			}else if(no=="6"){
				var xtbclx=getFormValue('xtbclx');
				if(xtbclx=="2")
				{	
					$('#xtbcl').attr("disabled",true);
					$('#xtbc').attr("disabled",true);
					setFormValue('xtbcl','');	
					setFormValue('xtbc','');
				}else{
					$('#xtbcl').attr("disabled",false);
					$('#xtbc').attr("disabled",false);
				}
			}else if(no=="7"){
				var sfgz=getFormValue('sfgz');
				if(sfgz=="0" || sfgz=="")
				{	
					$('#gzms').attr("disabled",true);
					$('#gzcj').attr("disabled",true);
					for(var i=0;i<=3;i++) $('#gzjg'+i).attr("disabled",true);
					$('#jzpgpd').attr("disabled",true);
					setFormValue('gzms','');
					setFormValue('gzcj','');	
					setBoxValue('gzjg','No,0,1,2,3');	
					setFormValue('jzpgpd','');
				}else{
					$('#gzms').attr("disabled",false);
					$('#gzcj').attr("disabled",false);
					for(var i=0;i<=3;i++) $('#gzjg'+i).attr("disabled",false);
					$('#jzpgpd').attr("disabled",false);					
				}
			}else if(no=="8"){
				var kffbbs=getFormValue('kffbbs');
				if(kffbbs=="0")
				{
					$('#kfpd').attr("disabled",true);
					setFormValue('kfpd','');
				}else{
					$('#kfpd').attr("disabled",false);
				}
			}else if(no=="10" || no=="11"){
				var sfxtzcp=getRadioValue('sfxtzcp');
				if(sfxtzcp=="0")
				{	
					$('#fqzcpnbbh').attr("disabled",true);
					$('#sdbs').attr("disabled",true);
					setFormValue('fqzcpnbbh','');
					setFormValue('sdbs','');
					$('#yqmjzje').attr("disabled",true);
					$('#yqmjzfe').attr("disabled",true);
					$('#yqmjzebz').attr("disabled",true);
					setFormValue('yqmjzje','');
					setFormValue('yqmjzfe','');
					setFormValue('yqmjzebz','');					
				}else{
					$('#fqzcpnbbh').attr("disabled",false);
					$('#sdbs').attr("disabled",false);	
					$('#yqmjzje').attr("disabled",false);
					$('#yqmjzfe').attr("disabled",false);
					$('#yqmjzebz').attr("disabled",false);					
				}
			}
        }		
    </script>


</html>